﻿using Autofac;
using IServices;
using Lazy.Captcha.Core;
using Microsoft.AspNetCore.Http;
using Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace NDLS.WebApi.Common.Autofac
{

    public class AutofacModuleRegister : Module
    {
        protected override void Load(ContainerBuilder builder)
        {
            builder.RegisterType<UserService>().As<IUserService>();
            builder.RegisterType<HttpContextAccessor>().As<IHttpContextAccessor>();
        }
    }

}
